<!DOCTYPE html>
<html lang="en" xmlns:th="http://www.thymeleaf.org">
<head th:replace="commons/head::myhead(~{::title},~{::link})">
    <title>main</title>
    <!-- main CSS -->
    <link href="asserts/css/main.css" th:href="@{/asserts/css/main.css}" rel="stylesheet">
</head>
<body>
    <!--引入topbar-->
    <div th:replace="commons/bar::topbar"></div>
    <div class="container-fluid">
        <div class="row">
            <!--引入sidebar-->
            <div th:replace="commons/bar::#sidebar(activeUri='main')"></div>
            <!-- 引入main -->
            <main role="main" class="col-md-10 ml-sm-auto col-lg-10 pt-3 px-4">
                这是主页
            </main>
        </div>
    </div>

    <div th:replace="commons/head::myscript(~{::script})">
        <script type="text/javascript"></script>
    </div>
</body>
</html>